#! /bin/bash
java -jar pack_text.jar

cd pa/packed_Resources

java -jar ../../7zip.jar e c_en-US.bin c_en-US.lzma
java -jar ../../7zip.jar e c_es-MX.bin c_es-MX.lzma

rm c_en-US.bin
rm c_es-MX.bin

cp c_en-US.lzma c_en-US.bin
cp c_es-MX.lzma c_es-MX.bin


rm c_en-US.lzma
rm c_es-MX.lzma

cp text_def.h ../../sdk/packed_Resources/text_def.h
cp text_key.h ../../sdk/packed_Resources/text_key.h
cp c_en-US.bin ../../sdk/packed_Resources/c_en-US.bin
cp c_es-MX.bin ../../sdk/packed_Resources/c_es-MX.bin


